import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// Vant
import Vant from 'vant'
import 'vant/lib/index.css'
// VCharts
import VCharts from 'v-charts'
// axios封装
import $axios from './utils/axios'
// 全局参数和方法
import $util from './utils/util'
// 全局样式
import './assets/css/common.css'
import './assets/css/custom.css'
// 可伸缩布局方案
import 'amfe-flexible/index.js'

Vue.use(Vant).use(VCharts)
Vue.prototype.$axios = $axios
Vue.prototype.$util = $util
Vue.config.productionTip = false

var vue = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

export default vue
